package com.example.entity.yifei;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.poi.ss.formula.functions.Now;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author mgkj
 * @since 2024-08-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel("变更")
public class Change implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @ApiModelProperty("主键id")
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 创建人
     */
    @ApiModelProperty("创建人")
    private String creator;

    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    @TableField("create_time")
    private String createTime;

    /**
     * 修改时间
     */
    @ApiModelProperty("修改时间")
    @TableField("modify_time")
    private String modifyTime;

    /**
     * 修改人
     */
    @ApiModelProperty("修改人")
    @TableField("modify_creator")
    private String modifyCreator;

    /**
     * 表
     */
    @ApiModelProperty("表")
    @TableField("table_from")
    private String tableFrom;

    /**
     * 字段
     */
    @ApiModelProperty("字段")
    private String field;

    @TableField(exist = false)
    @ApiModelProperty("页次")
    private Long page = 1L;

    @TableField(exist = false)
    @ApiModelProperty("页数")
    private Long pageSize = 10L;

}